{%extends 'base.html'%}
{%block title%} 注册页{%endblock%}
{%block content%}
<form action="/register" method="post" novalidate>
    {{form.csrf_token}}
    <h3> 注册</h3>
    {%from 'macro.html' import formFields  %}
    {{formFields(form)}}
    {{form.submit}}
</form>
{%endblock%}